<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad(e) {
			let url = `https://open.weixin.qq.com/connect/oauth2/authorize?`
				// url+=`appid=wxb86902dbf81df2e8`//测试
				// url+=`&redirect_uri=${encodeURIComponent('http://m.lzscxt.cn/#/pages/home/home')}`//测试
				url+=`appid=wx61d185ebe42c4c8c`//正式
				url+=`&redirect_uri=${encodeURIComponent('https://jh.scjywkj.com/#/pages/index/index')}`//正式
				url+=`&response_type=code`
				url+=`&scope=snsapi_userinfo`
				url+=`&state=STATE`
				url+=`&connect_redirect=1`
				url+=`#wechat_redirect`
				console.log(url)
			window.location.href=url
				
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
